<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
    <body>
        <font size = "6">好好学习</font><br>
        <font face = "隶书" color = "#6c5">天天向上</font><br>
        <font size = "4">必须的</font>
    </body>
<script src="js/jquery-3.7.1.js"></script>
<script>
    // $("font[size]").css("color","#85d");//选择有设置size属性的
    //$("font[size = 4]").css("color","#e65");//选择size等于4的
    // $("font[size != 4]").css("color","#54d");//选中size不等于4的
    $("font[face ^= '隶']").css("color","#F4d");//
</script>
</html>